import App from './App.vue'
import router from './router'
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

import elementUI from 'element-plus'

import './permission'
import './skins/common.css'
import './skins/animate.css'
import 'element-plus/dist/index.css'

const app = createApp(App)

// pinia
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)
app.use(pinia)
// router
app.use(router)
// element-ui
app.use(elementUI)

app.mount('#app')
